<?php


namespace App\Http\Services\FormBuilder\Components;


abstract class AbstractComponent
{
    abstract public function render();

    public function __toString()
    {
        return $this->render();
    }

    protected function beforeRender()
    {
        return true;
    }
}